package org.example.thread.testReturn.way1;

import java.io.Serializable;

/**
 * @author liyishan
 * @date 2023/8/3 13:06
 * @apiNote
 */

public class TaskResult implements Serializable {
    private static final long serialVersionUID = 8678277072402730062L;
    /*** 任务状态 */
    private Integer taskStatus;
    /*** 任务消息 */
    private String taskMessage;
    /*** 任务结果数据 */
    private String taskResult;



    @Override
    public String toString() {
        return "TaskResult{"
                + "taskStatus=" + taskStatus
                + ", taskMessage='" + taskMessage + '\''
                + ", taskResult='" + taskResult + '\'' + '}';
    }

    public Integer getTaskStatus() {
        return taskStatus;
    }

    public void setTaskStatus(Integer taskStatus) {
        this.taskStatus = taskStatus;
    }

    public String getTaskMessage() {
        return taskMessage;
    }

    public void setTaskMessage(String taskMessage) {
        this.taskMessage = taskMessage;
    }

    public String getTaskResult() {
        return taskResult;
    }

    public void setTaskResult(String taskResult) {
        this.taskResult = taskResult;
    }
}
